

### Main target

main: build-libs build-sudoku


### Source building targets

build-libs:
	cd matvec && make matvec
	cd lib/include && cp ../../matvec/src/*.h .
	cd lib && cp ../matvec/bin/*.so* .

build-sudoku:
	cd src && make

### Installing targets

install: install-matvec install-sudoku

install-matvec:
	cd matvec && make install-matvec

install-sudoku:
	cd src && make install

### Cleaning targets

clean: clean-matvec clean-sudoku
	cd lib && rm -f *.so*
	cd lib && rm -f include/*

clean-matvec:
	cd matvec && make clean-matvec

clean-sudoku:
	cd src && make clean
